package com.cwd.arm.application.service.read.facade;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cwd.arm.application.dto.user.UserManageDto;
import com.cwd.arm.common.dto.session.UserDto;
import com.cwd.arm.infrastructure.query.UserDaoQuery;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by yan on 21-11-14.
 */
@Service
public interface UserReadService {

    UserDto getUserById(Long id);

    Page<UserManageDto> selectPage(UserDaoQuery query);

    List<UserDto> selectList(UserDaoQuery query);
}
